//
//  ViewController1.swift
//  CCFoundation_Swift
//
//  Created by zjh on 2021/10/15.
//

import UIKit

class ViewController1: CCViewController_Swift {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
    }
    
    override func configNavigationBar() {
        if #available(iOS 15, *) {
            let barApp = UINavigationBarAppearance.init()
            barApp.backgroundColor = .green
            self.navigationController?.navigationBar.scrollEdgeAppearance = barApp
            self.navigationController?.navigationBar.standardAppearance = barApp
        }
    }

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
